<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the NotificationModel.fromMap constructor from the Class NotificationModel class from the data library, for the Dart programming language.">
  <title>NotificationModel.fromMap constructor - NotificationModel class - data library - Dart API</title>

  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <link rel="stylesheet" href="../../static-assets/github.css">
  <link rel="stylesheet" href="../../static-assets/styles.css">
  <link rel="icon" href="../../static-assets/favicon.png">

</head>

<body data-base-href="../../"
      data-using-base-href="false">

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../../index.html">trpp</a></li>
    <li><a href="../../data_data/data_data-library.html">data</a></li>
    <li><a href="../../data_data/NotificationModel-class.html">NotificationModel</a></li>
    <li class="self-crumb">NotificationModel.fromMap constructor</li>
  </ol>
  <div class="self-name">NotificationModel.fromMap</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
      <form class="search-sidebar" role="search">
        <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
      </form>
    </header>
    
    <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
      <li><a href="../../index.html">trpp</a></li>
      <li><a href="../../data_data/data_data-library.html">data</a></li>
      <li><a href="../../data_data/NotificationModel-class.html">NotificationModel</a></li>
      <li class="self-crumb">NotificationModel.fromMap constructor</li>
    </ol>
    
    <h5>NotificationModel class</h5>
    <ol>

    <li class="section-title"><a href="../../data_data/NotificationModel-class.html#constructors">Constructors</a></li>
    <li><a href="../../data_data/NotificationModel/NotificationModel.html">NotificationModel</a></li>
    <li><a href="../../data_data/NotificationModel/NotificationModel.fromMap.html">fromMap</a></li>


    <li class="section-title">
      <a href="../../data_data/NotificationModel-class.html#instance-properties">Properties</a>
    </li>
    <li><a href="../../data_data/NotificationModel/date1.html">date1</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></li>
    <li><a href="../../data_data/NotificationModel/id.html">id</a></li>
    <li><a href="../../data_data/NotificationModel/note.html">note</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>

    <li class="section-title"><a href="../../data_data/NotificationModel-class.html#instance-methods">Methods</a></li>
    <li><a href="../../data_data/NotificationModel/getString.html">getString</a></li>
    <li><a href="../../data_data/NotificationModel/makeData.html">makeData</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
    <li><a href="../../data_data/NotificationModel/toMap.html">toMap</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></li>

    <li class="section-title inherited"><a href="../../data_data/NotificationModel-class.html#operators">Operators</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></li>




</ol>

  </div><!--/.sidebar-offcanvas-left-->

  <div id="dartdoc-main-content" class="main-content">
      <div><h1><span class="kind-constructor">NotificationModel.fromMap</span> constructor </h1></div>

    <section class="multi-line-signature">
      
      <span class="name ">NotificationModel.fromMap</span>(<wbr><ol class="parameter-list"><li><span class="parameter" id="fromMap-param-map"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span></span> <span class="parameter-name">map</span></span></li>
</ol>)
    </section>

    <section class="desc markdown">
      <p>Makes NotificationModel from database data</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">NotificationModel.fromMap(Map&lt;String, dynamic&gt; map) {
  this.id = map[&#39;_id&#39;];
  print(map[&#39;note&#39;]);
  this.note = map[&#39;note&#39;];
  this.date1 = map[&#39;date1&#39;];
}</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    trpp
      2.0.0+2
  </span>

</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="../../static-assets/typeahead.bundle.min.js"></script>
<script src="../../static-assets/highlight.pack.js"></script>
<script src="../../static-assets/script.js"></script>


</body>

</html>
